package net.xinqushi.reflect;

import java.lang.reflect.Field;
import java.lang.reflect.Type;

/**
 * @author xjie 2019/10/13 17:24
 * @description Type
 */
public class TypeDemo {

    public static void main(String[] args) throws NoSuchFieldException {
        Field field = Fuck.class.getDeclaredField("a");
        Type type = field.getGenericType();
        System.out.println(type);
    }


    static class Fuck{
        int a;
    }

}
